from task.pageAction.actionmanage import ActionManage
class Order(ActionManage):
    
    def orderaction(self):
        self.pagehome.scroll()
        self.pagehome.click_goods()
        self.pagehome.switch_window()
        self.pagegoods.choose_color()
        self.pagegoods.choose_size()
        self.pagegoods.choose_buy()
        self.pageorder.choose_address()
        self.pageorder.choose_pay()
        self.pageorder.input()
        self.pageorder.pay()
if __name__ == '__main__':
    from base.driver import Driver
    driver=Driver().get_driver()
    Order(driver).orderaction()